package com.slipper.system.codeless.dao;

import com.slipper.system.codeless.bo.ViewBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 视图信息表
 */
public interface ViewDao {
    
    int insert(ViewBO bo);
    
    int update(ViewBO bo);

    int updateSimple(ViewBO bo);
    
    int delete(ViewBO bo);

    ViewBO queryBy(String id);
    
    List<ViewBO> queryList(ViewBO bo);

    List<ViewBO> queryListByIds(@Param("ids") String[] ids);

    int existsCode(@Param("id") String id, @Param("code") String code);

    List<ViewBO> queryByCode(String code);
}
